home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / Util / M / MacDOS 3.0.sit / MacDOS 3.0 ƒ / executables / MacDOS 3.0.rsrc / TEXT_180_TREE.txt < prev    next >
Encoding:
Text File  |  1995-04-09  |  1.5 KB  |  35 lines

  1. Displays a directory structure graphically.
  2.  
  3. TREE path [/A[[:]attributes]] [/B] [/C=creator] [/L] [/O[[:]order]]
  4.          [/P] [/S] [/T=file-type] [/W]
  5.  
  6. TREE accepts all the switches defined for DIR, but some of them have no
  7. effect.
  8.  
  9.   path         is the root of the tree. It defaults to the current directory.
  10.   /F           displays the filenames in each directory.
  11.   /A           lists items with specified attributes (a minus sign as a
  12.                prefix means 'not'):
  13.                   D  Directories
  14.                   F  Files
  15.                   H  Hidden files
  16.                   X  Aliases
  17.                Note that /A:-F overrides /F. Therefore, "TREE /A-F/F" will NOT
  18.                display files.
  19.   /B           no effect.
  20.   /C=creator   only lists files of the given creator.
  21.   /L           uses lowercase when filtering entries on the basis of wildcards.
  22.   /O           sorts the list with the following ordering options (a minus
  23.                sign as a prefix reverses the order):
  24.                   D  by Date & time of update (older first)
  25.                   G  Group directories first
  26.                   N  by Name (alphabetic)
  27.                   S  by Size (smallest first)
  28.   /P           pauses after each screenful of listing.
  29.   /S           recursive display of all subdirectories of a given directory.
  30.   /T=file-type only lists files of the given file type.
  31.   /W           no effect.
  32.  
  33. Switches may be preset in the DIRCMD environment variable. When preset,
  34. a switch can be overriden by prefixing it in TREE with a minus sign.
  35.